package org.kele.servicecomb.ex;

import org.apache.servicecomb.swagger.invocation.exception.InvocationException;

import javax.ws.rs.core.Response;

public class BizException extends InvocationException {

    public BizException(String msg) {
        super(Response.Status.BAD_REQUEST, msg);
    }

    public BizException(Response.StatusType status, String msg) {
        super(status, msg);
    }
}
